{"ast":null,"code":"import _defineProperty from \"/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/@babel/runtime/helpers/esm/defineProperty.js\";\nimport { genComponentStyleHook } from '../../theme/internal';\n// =============================== Base ===============================\nvar genBaseStyle = function genBaseStyle(token) {\n  var _$concat, _componentCls;\n  var componentCls = token.componentCls,\n    iconCls = token.iconCls,\n    zIndexPopup = token.zIndexPopup,\n    colorText = token.colorText,\n    colorWarning = token.colorWarning,\n    marginXS = token.marginXS,\n    fontSize = token.fontSize,\n    fontWeightStrong = token.fontWeightStrong,\n    lineHeight = token.lineHeight;\n  return _defineProperty({}, componentCls, (_componentCls = {\n    zIndex: zIndexPopup\n  }, _defineProperty(_componentCls, \"\".concat(componentCls, \"-inner-content\"), {\n    color: colorText\n  }), _defineProperty(_componentCls, \"\".concat(componentCls, \"-message\"), (_$concat = {\n    position: 'relative',\n    marginBottom: marginXS,\n    color: colorText,\n    fontSize: fontSize,\n    display: 'flex',\n    flexWrap: 'nowrap',\n    alignItems: 'start'\n  }, _defineProperty(_$concat, \"> \".concat(componentCls, \"-message-icon \").concat(iconCls), {\n    color: colorWarning,\n    fontSize: fontSize,\n    flex: 'none',\n    lineHeight: 1,\n    paddingTop: (Math.round(fontSize * lineHeight) - fontSize) / 2\n  }), _defineProperty(_$concat, '&-title', {\n    flex: 'auto',\n    marginInlineStart: marginXS\n  }), _defineProperty(_$concat, '&-title-only', {\n    fontWeight: fontWeightStrong\n  }), _$concat)), _defineProperty(_componentCls, \"\".concat(componentCls, \"-description\"), {\n    position: 'relative',\n    marginInlineStart: fontSize + marginXS,\n    marginBottom: marginXS,\n    color: colorText,\n    fontSize: fontSize\n  }), _defineProperty(_componentCls, \"\".concat(componentCls, \"-buttons\"), {\n    textAlign: 'end',\n    button: {\n      marginInlineStart: marginXS\n    }\n  }), _componentCls));\n};\n// ============================== Export ==============================\nexport default genComponentStyleHook('Popconfirm', function (token) {\n  return genBaseStyle(token);\n}, function (token) {\n  var zIndexPopupBase = token.zIndexPopupBase;\n  return {\n    zIndexPopup: zIndexPopupBase + 60\n  };\n});","map":{"version":3,"names":["genComponentStyleHook","genBaseStyle","token","componentCls","iconCls","zIndexPopup","colorText","colorWarning","marginXS","fontSize","fontWeightStrong","lineHeight","zIndex","color","position","marginBottom","display","flexWrap","alignItems","flex","paddingTop","Math","round","marginInlineStart","fontWeight","textAlign","button","zIndexPopupBase"],"sources":["/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/antd/es/popconfirm/style/index.js"],"sourcesContent":["import { genComponentStyleHook } from '../../theme/internal';\n// =============================== Base ===============================\nconst genBaseStyle = token => {\n  const {\n    componentCls,\n    iconCls,\n    zIndexPopup,\n    colorText,\n    colorWarning,\n    marginXS,\n    fontSize,\n    fontWeightStrong,\n    lineHeight\n  } = token;\n  return {\n    [componentCls]: {\n      zIndex: zIndexPopup,\n      [`${componentCls}-inner-content`]: {\n        color: colorText\n      },\n      [`${componentCls}-message`]: {\n        position: 'relative',\n        marginBottom: marginXS,\n        color: colorText,\n        fontSize,\n        display: 'flex',\n        flexWrap: 'nowrap',\n        alignItems: 'start',\n        [`> ${componentCls}-message-icon ${iconCls}`]: {\n          color: colorWarning,\n          fontSize,\n          flex: 'none',\n          lineHeight: 1,\n          paddingTop: (Math.round(fontSize * lineHeight) - fontSize) / 2\n        },\n        '&-title': {\n          flex: 'auto',\n          marginInlineStart: marginXS\n        },\n        '&-title-only': {\n          fontWeight: fontWeightStrong\n        }\n      },\n      [`${componentCls}-description`]: {\n        position: 'relative',\n        marginInlineStart: fontSize + marginXS,\n        marginBottom: marginXS,\n        color: colorText,\n        fontSize\n      },\n      [`${componentCls}-buttons`]: {\n        textAlign: 'end',\n        button: {\n          marginInlineStart: marginXS\n        }\n      }\n    }\n  };\n};\n// ============================== Export ==============================\nexport default genComponentStyleHook('Popconfirm', token => genBaseStyle(token), token => {\n  const {\n    zIndexPopupBase\n  } = token;\n  return {\n    zIndexPopup: zIndexPopupBase + 60\n  };\n});"],"mappings":";AAAA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